﻿@model IEnumerable<Article>
@Html.Extra()

<div id="box-news-img" class="slideBox" style="width:200px;height:100px;">
    <ul class="items">
        @foreach (var item in Model)
        {
            <li><a href="@Url.Action("Detail", "Articles", new { Key = item.Key })" title="@StringHelper.CutText(item.Title, 18)"><img src=" @Url.Image(item.TitleImageUrl) "></a></li>
        }
       
    </ul>
</div>
<script>
    $('#box-news-img').slideBox({

        duration: 0.3,//滚动持续时间，单位：秒

        easing: 'linear',//swing,linear//滚动特效

        delay: 5,//滚动延迟时间，单位：秒

        hideClickBar: true,//不自动隐藏点选按键

        clickBarRadius: 10

    });
</script>